package yunmouren.top.place;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import yunmouren.top.place.Commands.RegisterNavigationPoint;

@Mod(
        modid = Place.MOD_ID,
        name = Place.MOD_NAME,
        version = Place.VERSION
)
public class Place {

    public static final String MOD_ID = "place";
    public static final String MOD_NAME = "Place";
    public static final String VERSION = "1.0-SNAPSHOT";

    /**
     * This is the instance of your mod as created by Forge. It will never be null.
     */
    @Mod.Instance(MOD_ID)
    public static Place INSTANCE;

    /**
     * This is the first initialization event. Register tile entities here.
     * The registry events below will have fired prior to entry to this method.
     */
    @Mod.EventHandler
    public void preinit(FMLServerStartingEvent event) {
        event.registerServerCommand(new RegisterNavigationPoint());
    }
}
